package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 任务信息对象 t_week_task_info
 * 
 * @author ruoyi
 * @date 2021-01-21
 */
public class TWeekTaskInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 任务名称 */
    @ApiModelProperty(value = "任务名称")
    private String taskName;


    /** 任务副标题 */
    @ApiModelProperty(value = "任务副标题")
    private String taskNickName;

    /** 数额 */
    @ApiModelProperty(value = "数额")
    private Integer amount;

    private  Integer day;


    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }
    /** 任务类型 1. 积分 2. 红包 */
    @ApiModelProperty(value = "任务类型 1. 积分 2. 红包")
    private String taskType;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setTaskNickName(String taskNickName) 
    {
        this.taskNickName = taskNickName;
    }

    public String getTaskNickName() 
    {
        return taskNickName;
    }
    public void setAmount(Integer amount) 
    {
        this.amount = amount;
    }

    public Integer getAmount() 
    {
        return amount;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskName", getTaskName())
            .append("taskNickName", getTaskNickName())
            .append("amount", getAmount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("taskType", getTaskType())
            .toString();
    }
}
